package com.zyong.design.pattern.facade.case2;

/**
 * 投影仪
 * @program: zyong-design-pattern
 * @ClassName: Projector
 * @author: zyong
 * @create: 2024-04-07 23:22
 */
public class Projector {
    private static Projector instance = new Projector();

    public static Projector getInstance() {
        return instance;
    }

    /**
     * 开
     */
    public void on() {
        System.out.println("projector on");
    }

    /**
     * 关
     */
    public void off() {
        System.out.println("projector off");
    }

    /**
     * 投影
     */
    public void focus() {
        System.out.println("projector focus");
    }
}
